<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
	</head>
	<body bgcolor="#ccddee" link="#000066" vlink="#0066FF" alink="#99FF00">
		<center>
			<div>
				<table>
					<tr>
						<td>
							<s:fielderror cssStyle="color:red" />
							<s:actionerror cssStyle="color:blue"/>
						</td>
					</tr>
				</table>
			</div>
			<s:form method="post" action="addExitdept" validate="true" theme="simple">
				<table width="100%" border=1 align="center" cellpadding="0"
					cellspacing="0" bgcolor="#ccddee">
					<tr>
						<td width="15%" align="right">
							主卡类型:
						</td>
						<td width="30%" align="left">
							<s:select name="exitdept.cardmaintype.cardmaintypeno" list="cardmaintypelist" 
									listKey="cardmaintypeno" 
									listValue="cardmaintypename"
									headerKey="0" headerValue="请选择主卡类型"
									theme="simple"></s:select>
						</td>
						<td align="left">
							
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							卡单位:
						</td>
						<td width="30%" align="left">
							<s:select name="exitdept.datadictByUnit.typeid" list="datadictByUnitlist" 
									listKey="typeid" 
									listValue="name"
									headerKey="0" headerValue="请选择卡单位"
									theme="simple"></s:select>
						</td>
						<td align="left">
							
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							流程约定时限:
						</td>
						<td width="30%" align="left">
							<s:textfield name="exitdept.limitday" theme="simple" required="true"></s:textfield>
						</td>
						<td align="left">
							
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							优先级别:
						</td>
						<td width="30%" align="left">
							<s:select name="exitdept.datadictByPri.typeid" list="datadictByPrilist" 
									listKey="typeid" 
									listValue="name"
									headerKey="0" headerValue="请选择优先级"
									theme="simple"></s:select>
						</td>
						<td align="left">
							
						</td>
					</tr>
					<tr>
						<td width="15%" align="right">
							备注:
						</td>
						<td width="30%" align="left">
							<s:textarea name="exitdept.remark" theme="simple" cssStyle="width:80%"></s:textarea>
						</td>
						<td align="left">
							
						</td>
					</tr>
				</table>
				<br />
				<br />
				<table>
					<tr>
						<td>
							<s:submit value=" 增 加 " theme="simple" />
						</td>
					</tr>
					<tr>
						<td>
							<s:token name="hello"></s:token>
						</td>
					</tr>
				</table>
			</s:form>
		</center>

	</body>
</html>